package hlhj.fhp.tvlib.activitys

import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.bumptech.glide.Glide
import hlhj.fhp.tvlib.R
import kotlinx.android.synthetic.main.activity_photo_view_aty.*
import uk.co.senab.photoview.PhotoViewAttacher

class PhotoViewAty : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_photo_view_aty)
        val attacher = PhotoViewAttacher(photoView)
        Glide.with(this).load(intent.getStringExtra("img")).into(photoView)

        btExit.setOnClickListener {
            finish()
        }
    }
}
